<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%><%@ page import="hyl.core.db.MyDB"%><%@ page 
	import="hyl.My,hyl.core.MyFun,java.io.IOException"%><%@ page 
	import="java.util.List,java.util.Map,java.sql.Connection,java.math.BigDecimal"%><% 
response.setCharacterEncoding("UTF-8");  
response.setContentType("text/plain");  
MyDB db = My.getDb1();
String sql2 = "update manageadd set username=?,telephone=?,province=?,city=?,distric=?,address=?,state=?  where id=?";
Object[] param2 = new Object[8];
param2[0] =request.getParameter("username"); 
param2[1] =request.getParameter("tele");
param2[2] =request.getParameter("province");
param2[3] =request.getParameter("city");
param2[4] =request.getParameter("distric");
param2[5] =request.getParameter("address");
param2[6] =request.getParameter("state");
param2[7] =request.getParameter("id");
System.out.println(request.getParameter("state"));
db.executeUpdate(sql2, param2);

		
%>